package com.sjk.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author lohhhha
 * 2023/5/14
 */

@RestController
public class TolController {

    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public String test() {
        return "test";
    }

    @RequestMapping(value = "/overAuthority", method = RequestMethod.GET)
    public String overAuthority(){
        return "Unauthorized access!";
    }
}
